package com.ynkbny.lgapi;

import com.alibaba.fastjson.JSONObject;
import com.dtflys.forest.annotation.Header;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.annotation.Var;
import org.springframework.stereotype.Service;

/**
 * @Author YY
 * @Date 2023/7/27 18:48
 */
@Service
public interface Project {

    String URL = "https://api.bknykf.com/api/project/";

    /**
     * 查询基础信息
     * @param id 项目ID
     * @return json对象
     */
    @Post(URL+"queryProject?id={id}")
    JSONObject queryProject(@Header("__sid") String token, @Var("id") long id);
}
